Skip to content

ci(deps): tighten OSV/dependency scan schedule from weekly to daily - #14934

Merged
baozhoutao merged 1 commit into
mainfrom
claude/issue-14645-osv-daily-cadence
Sep 3, 2026
Merged

ci(deps): tighten OSV/dependency scan schedule from weekly to daily#14934
baozhoutao merged 1 commit into
mainfrom
claude/issue-14645-osv-daily-cadence

Conversation

@baozhoutao

Copy link
Copy Markdown
Contributor

Fixes #14645

What

Moves the OSV/dependency scan's schedule trigger in
.github/workflows/validate-deps.yml from weekly (0 3 * * 1, Mondays) to
daily (0 3 * * *), keeping the same 03:00 UTC hour. This is Option A from
the card's decision facets, ruled by the maintainer (issue comment
#5523306978):
tighten the discovery cadence; do not build an automatic issue-opening outlet
(Option B) in this change.

Filename correction

The ruling names .github/workflows/osv-scanner.yml. That file does not
exist on main — the card's own body correctly names
.github/workflows/validate-deps.yml (the file that actually carries the
schedule: trigger, cron: '0 3 * * 1', and issues: write). This PR
applies the ruling's substance (weekly → daily, one cron line) to
validate-deps.yml, per the card's own correction note. The ruling itself is
untouched by this — only the filename it names was a clerical slip.

Scope

Findings (not actioned — reported per dispatch instructions)

Tests

See the report comment on #14645 for the full gate list and exit codes.

🤖 Generated with Claude Code

https://claude.ai/code/session_012zGPuVVX3deAx9LdjK8jCk


Generated by Claude Code

The scheduled scan (validate-deps.yml) is the discovery trigger for a new
OSV advisory; the per-PR path trigger is the blocking trigger. Between
weekly Monday runs, a new advisory could go undetected for up to six days,
so the first PR touching a manifest ate a red unrelated to its diff — six
occurrences in a month (#14645).

Moves the cron from '0 3 * * 1' (weekly, Monday 03:00 UTC) to '0 3 * * *'
(daily, same hour) — Option A from the card, ruled by the maintainer
(issue comment #5523306978): tighten cadence now, defer the automatic
issue-opening outlet (Option B) pending measurement of whether a daily
red still goes unseen.

The ruling names .github/workflows/osv-scanner.yml, which does not exist;
applying its substance to validate-deps.yml, the file the card's own body
correctly names and which actually carries this schedule trigger.

Fixes #14645

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012zGPuVVX3deAx9LdjK8jCk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci/cd size/xs skip-changeset PR has no user-facing published change; bypasses the changeset gate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The weekly OSV scan has no outlet, so a new advisory is discovered by whichever PR author next touches a package.json — six occurrences in a month

2 participants